<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>疫情累计感染最多的两个省份信息雷达图</title>
    <script src="../static/echarts.min.js"></script>
</head>
<body>
<div id="main" style="width:1400px;height:700px"></div>
<script type="text/javascript">
      // 基于准备好的dom，初始化echarts实例
      var myChart = echarts.init(document.getElementById('main'));

      option = {
      title: {
        text: '疫情累计感染最多的两个省份信息雷达图'
      },
      tooltip:{},
      legend: {

      },
      radar: {
        // shape: 'circle',
        indicator: [
          { name: '{{col[0] | safe}}', max: 200 },
          { name: '{{col[1] | safe}}', max: 16000 },
          { name: '{{col[2] | safe}}', max: 75000 },
          { name: '{{col[3] | safe}}', max: 70000 },
          { name: '{{col[4] | safe}}', max: 10000 }
        ]
      },
      series: [
        {
          name: '疫情对比表',
          type: 'radar',
          data: [
            {
              value: {{data[0]}},
              name: '{{province[0] | safe}}'
            },
            {
              value: {{data[1]}},
              name: '{{province[1] | safe}}'
            }
          ]
        }
      ]
    };

      // 使用刚指定的配置项和数据显示图表。
      myChart.setOption(option);

</script>

</body>
</html>